package com.weixin.common.core.form;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @version 1.0.0
 * @className: RoleAddForm
 * @description:
 * @author: zhangjunfa
 * @date: 2023/5/29 15:50
 */
@Data
public class RoleAddForm implements Serializable {
    private static final long serialVersionUID = 1660396872483897477L;

    /**
     * 主键ID
     */
    private Integer id;

    /**
     * 角色名称
     */
    @NotEmpty(message = "角色名称不能为空！")
    private String roleName;

    /**
     * 角色标识符
     */
    @NotEmpty(message = "角色标识符不能为空！")
    private String roleKey;

    /**
     * 角色状态（0正常 1停用）
     */
    @NotEmpty(message = "角色状态不能为空！")
    private String roleStatus;
}
